<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div id="app">
  <c><button>按钮</button></c>
  <c><i>不是按钮</i></c>
  <c><h2>我是h2</h2></c>
  <c>
    <h2>我是h2</h2>
    <i>不是按钮</i>
    <button>按钮</button>
    <h5>我是h5</h5>
  </c>
</div>

<template id="cpn">
  <div>
    <h1>我嫩爹！！</h1>
    <p>不知道写个啥！！</P>
    <slot></slot>
  </div>
</template>
<script src="../js/vue.js"></script>
<script>
  //let(变量)和const(常量)
  const app = new Vue({
    el: '#app',
    data: {
      message: '中国牛蛙！'
    },
    components: {
      c: {
        template: `#cpn`
      }
    }
  })
</script>
</body>
</html>